﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_Booking_Handling.aspx.cs" Inherits="Admin_Booking_Handling" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
        <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="./css/font.css" />
    <link rel="stylesheet" href="./css/xadmin.css" />
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <script type="text/javascript" src="./js/cookie.js"></script>
     <style>
        .all{
            width:95%;
            margin-left:2.5%
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="all">
            <br />
      <xblock style="height:35px">
        <span class="x-right" style="line-height:40px">共有数据：<asp:Label ID="MsgNum" runat="server" Text="0"></asp:Label> 条</span>
      </xblock>
            <asp:Label ID="LabelText" runat="server" Text="Label"></asp:Label>
         </div>
<%--            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="book_id" DataSourceID="SqlDataSource1" AllowPaging="True" BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black" GridLines="Vertical" Width="991px">
                <AlternatingRowStyle BackColor="#CCCCCC" />
                <Columns>
                    <asp:BoundField DataField="book_id" HeaderText="预约单号" InsertVisible="False" ReadOnly="True" SortExpression="book_id" />
                    <asp:BoundField DataField="name" HeaderText="预约人姓名" SortExpression="name" />
                    <asp:BoundField DataField="phone_num" HeaderText="预约人联系电话" SortExpression="phone_num" />
                    <asp:BoundField DataField="user_identity" HeaderText="预约人身份" SortExpression="user_identity" />
                    <asp:BoundField DataField="date" HeaderText="预约使用日期" SortExpression="date" />
                    <asp:BoundField DataField="time" HeaderText="具体时间" SortExpression="time" />
                    <asp:BoundField DataField="pro_num" HeaderText="仪器编号" SortExpression="pro_num" />
                    <asp:BoundField DataField="pro_location" HeaderText="所在位置" SortExpression="pro_location" />
                    <asp:BoundField DataField="condition" HeaderText="预约单状态" SortExpression="condition" />
                    <asp:BoundField DataField="remarks" HeaderText="备注" SortExpression="remarks" />
                    <asp:TemplateField HeaderText="审核" ShowHeader="False">
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" CommandName="" CommandArgument='<%# Eval("book_id") %>' OnClick="LinkButton1_Click"  Text="通过"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="审核" ShowHeader="False">
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="false" CommandName="" CommandArgument='<%# Eval("book_id") %>' OnClick="LinkButton2_Click" Text="不通过"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#CCCCCC" />
                <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                <SortedAscendingHeaderStyle BackColor="#808080" />
                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                <SortedDescendingHeaderStyle BackColor="#383838" />
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringProManage %>" SelectCommand="SELECT [book_id], [name], [phone_num], [user_identity], [date], [time],[pro_num], [pro_location], [condition], [remarks] FROM [Booking] WHERE (([flag] = @flag) AND ([condition] = @condition))">
                <SelectParameters>
                    <asp:Parameter DefaultValue="1" Name="flag" Type="Int32" />
                    <asp:Parameter DefaultValue="已提交" Name="condition" Type="String" />
                </SelectParameters>
            </asp:SqlDataSource>--%>


       
    </form>
</body>
</html>
